package model;

public class Student {
    private int id;
    private String studentName;
    private String studentId;  // 学号
    private int classId;       // 所属班级ID
    private int groupId;       // 所属小组ID
    private String gender;     // 性别
    private String description;

    public Student(int id, String studentName, String studentId, int classId, 
                  int groupId, String gender, String description) {
        this.id = id;
        this.studentName = studentName;
        this.studentId = studentId;
        this.classId = classId;
        this.groupId = groupId;
        this.gender = gender;
        this.description = description;
    }

    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getStudentName() { return studentName; }
    public void setStudentName(String studentName) { this.studentName = studentName; }
    public String getStudentId() { return studentId; }
    public void setStudentId(String studentId) { this.studentId = studentId; }
    public int getClassId() { return classId; }
    public void setClassId(int classId) { this.classId = classId; }
    public int getGroupId() { return groupId; }
    public void setGroupId(int groupId) { this.groupId = groupId; }
    public String getGender() { return gender; }
    public void setGender(String gender) { this.gender = gender; }
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }
}
//定义学生信息，具体字段未在代码中展示。